home *** CD-ROM | disk | FTP | other *** search
Unknown | 2001-03-07 | 2.7 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 71 2b 2f 2f 3d 3d 3d 3d |........|q+//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 54 65 |========|=..// Te|
|00000060| 72 72 61 69 6e 42 75 69 | 6c 64 65 72 3a 20 42 75 |rrainBui|lder: Bu|
|00000070| 69 6c 64 73 20 61 20 33 | 44 20 63 75 62 65 20 62 |ilds a 3|D cube b|
|00000080| 72 75 73 68 2c 20 77 69 | 74 68 20 61 20 74 65 73 |rush, wi|th a tes|
|00000090| 73 65 6c 6c 61 74 65 64 | 20 62 6f 74 74 6f 6d 2e |sellated| bottom.|
|000000a0| 0d 0a 2f 2f 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |..//====|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000f0| 3d 0d 0a 63 6c 61 73 73 | 20 54 65 72 72 61 69 6e |=..class| Terrain|
|00000100| 42 75 69 6c 64 65 72 0d | 0a 09 65 78 70 61 6e 64 |Builder.|..expand|
|00000110| 73 20 42 72 75 73 68 42 | 75 69 6c 64 65 72 3b 0d |s BrushB|uilder;.|
|00000120| 0a 0d 0a 2f 2f 23 69 66 | 20 31 20 2f 2f 55 32 45 |...//#if| 1 //U2E|
|00000130| 64 0d 0a 0d 0a 76 61 72 | 28 29 20 66 6c 6f 61 74 |d....var|() float|
|00000140| 20 48 65 69 67 68 74 2c | 20 57 69 64 74 68 2c 20 | Height,| Width, |
|00000150| 42 72 65 61 64 74 68 3b | 0d 0a 76 61 72 28 29 20 |Breadth;|..var() |
|00000160| 69 6e 74 20 57 69 64 74 | 68 53 65 67 6d 65 6e 74 |int Widt|hSegment|
|00000170| 73 2c 20 44 65 70 74 68 | 53 65 67 6d 65 6e 74 73 |s, Depth|Segments|
|00000180| 3b 09 09 2f 2f 20 48 6f | 77 20 6d 61 6e 79 20 62 |;..// Ho|w many b|
|00000190| 72 65 61 6b 73 20 74 6f | 20 68 61 76 65 20 69 6e |reaks to| have in|
|000001a0| 20 65 61 63 68 20 64 69 | 72 65 63 74 69 6f 6e 0d | each di|rection.|
|000001b0| 0a 76 61 72 28 29 20 6e | 61 6d 65 20 47 72 6f 75 |.var() n|ame Grou|
|000001c0| 70 4e 61 6d 65 3b 0d 0a | 0d 0a 66 75 6e 63 74 69 |pName;..|..functi|
|000001d0| 6f 6e 20 42 75 69 6c 64 | 54 65 72 72 61 69 6e 28 |on Build|Terrain(|
|000001e0| 20 69 6e 74 20 44 69 72 | 65 63 74 69 6f 6e 2c 20 | int Dir|ection, |
|000001f0| 66 6c 6f 61 74 20 64 78 | 2c 20 66 6c 6f 61 74 20 |float dx|, float |
|00000200| 64 79 2c 20 66 6c 6f 61 | 74 20 64 7a 2c 20 69 6e |dy, floa|t dz, in|
|00000210| 74 20 57 69 64 74 68 53 | 65 67 2c 20 69 6e 74 20 |t WidthS|eg, int |
|00000220| 44 65 70 74 68 53 65 67 | 20 29 0d 0a 7b 0d 0a 09 |DepthSeg| )..{...|
|00000230| 6c 6f 63 61 6c 20 69 6e | 74 20 6e 2c 6e 62 6f 74 |local in|t n,nbot|
|00000240| 74 6f 6d 2c 69 2c 6a 2c | 6b 2c 78 2c 79 3b 0d 0a |tom,i,j,|k,x,y;..|
|00000250| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 57 69 64 |.local f|loat Wid|
|00000260| 74 68 53 74 65 70 2c 20 | 44 65 70 74 68 53 74 65 |thStep, |DepthSte|
|00000270| 70 3b 0d 0a 0d 0a 09 2f | 2f 0d 0a 09 2f 2f 20 54 |p;...../|/...// T|
|00000280| 4f 50 0d 0a 09 2f 2f 0d | 0a 0d 0a 09 6e 20 3d 20 |OP...//.|....n = |
|00000290| 47 65 74 56 65 72 74 65 | 78 43 6f 75 6e 74 28 29 |GetVerte|xCount()|
|000002a0| 3b 0d 0a 0d 0a 09 2f 2f | 20 43 72 65 61 74 65 20 |;.....//| Create |
|000002b0| 76 65 72 74 69 63 65 73 | 0d 0a 09 66 6f 72 28 20 |vertices|...for( |
|000002c0| 69 3d 2d 31 3b 20 69 3c | 32 3b 20 69 2b 3d 32 20 |i=-1; i<|2; i+=2 |
|000002d0| 29 0d 0a 09 09 66 6f 72 | 28 20 6a 3d 2d 31 3b 20 |)....for|( j=-1; |
|000002e0| 6a 3c 32 3b 20 6a 2b 3d | 32 20 29 0d 0a 09 09 09 |j<2; j+=|2 ).....|
|000002f0| 66 6f 72 28 20 6b 3d 2d | 31 3b 20 6b 3c 32 3b 20 |for( k=-|1; k<2; |
|00000300| 6b 2b 3d 32 20 29 0d 0a | 09 09 09 09 56 65 72 74 |k+=2 )..|....Vert|
|00000310| 65 78 33 66 28 20 69 2a | 64 78 2f 32 2c 20 6a 2a |ex3f( i*|dx/2, j*|
|00000320| 64 79 2f 32 2c 20 6b 2a | 64 7a 2f 32 20 29 3b 0d |dy/2, k*|dz/2 );.|
|00000330| 0a 0d 0a 09 2f 2f 20 43 | 72 65 61 74 65 20 74 68 |....// C|reate th|
|00000340| 65 20 74 6f 70 20 61 6e | 64 20 74 68 65 20 66 69 |e top an|d the fi|
|00000350| 72 73 74 20 74 72 69 20 | 6f 66 20 65 61 63 68 20 |rst tri |of each |
|00000360| 73 69 64 65 2e 0d 0a 09 | 50 6f 6c 79 33 69 28 44 |side....|Poly3i(D|
|00000370| 69 72 65 63 74 69 6f 6e | 2c 6e 2b 33 2c 6e 2b 31 |irection|,n+3,n+1|
|00000380| 2c 6e 2b 35 2c 20 27 73 | 6b 79 27 29 3b 0d 0a 09 |,n+5, 's|ky');...|
|00000390| 50 6f 6c 79 33 69 28 44 | 69 72 65 63 74 69 6f 6e |Poly3i(D|irection|
|000003a0| 2c 6e 2b 33 2c 6e 2b 35 | 2c 6e 2b 37 2c 20 27 73 |,n+3,n+5|,n+7, 's|
|000003b0| 6b 79 27 29 3b 0d 0a 0d | 0a 09 50 6f 6c 79 33 69 |ky');...|..Poly3i|
|000003c0| 28 44 69 72 65 63 74 69 | 6f 6e 2c 6e 2b 30 2c 6e |(Directi|on,n+0,n|
|000003d0| 2b 31 2c 6e 2b 33 2c 20 | 27 73 6b 79 27 29 3b 0d |+1,n+3, |'sky');.|
|000003e0| 0a 09 50 6f 6c 79 33 69 | 28 44 69 72 65 63 74 69 |..Poly3i|(Directi|
|000003f0| 6f 6e 2c 6e 2b 32 2c 6e | 2b 33 2c 6e 2b 37 2c 20 |on,n+2,n|+3,n+7, |
|00000400| 27 73 6b 79 27 29 3b 0d | 0a 09 50 6f 6c 79 33 69 |'sky');.|..Poly3i|
|00000410| 28 44 69 72 65 63 74 69 | 6f 6e 2c 6e 2b 36 2c 6e |(Directi|on,n+6,n|
|00000420| 2b 37 2c 6e 2b 35 2c 20 | 27 73 6b 79 27 29 3b 0d |+7,n+5, |'sky');.|
|00000430| 0a 09 50 6f 6c 79 33 69 | 28 44 69 72 65 63 74 69 |..Poly3i|(Directi|
|00000440| 6f 6e 2c 6e 2b 34 2c 6e | 2b 35 2c 6e 2b 31 2c 20 |on,n+4,n|+5,n+1, |
|00000450| 27 73 6b 79 27 29 3b 0d | 0a 0d 0a 09 2f 2f 0d 0a |'sky');.|....//..|
|00000460| 09 2f 2f 20 42 4f 54 54 | 4f 4d 0d 0a 09 2f 2f 0d |.// BOTT|OM...//.|
|00000470| 0a 0d 0a 09 6e 62 6f 74 | 74 6f 6d 20 3d 20 47 65 |....nbot|tom = Ge|
|00000480| 74 56 65 72 74 65 78 43 | 6f 75 6e 74 28 29 3b 0d |tVertexC|ount();.|
|00000490| 0a 0d 0a 09 2f 2f 20 43 | 72 65 61 74 65 20 76 65 |....// C|reate ve|
|000004a0| 72 74 69 63 65 73 0d 0a | 09 57 69 64 74 68 53 74 |rtices..|.WidthSt|
|000004b0| 65 70 20 3d 20 64 78 20 | 2f 20 57 69 64 74 68 53 |ep = dx |/ WidthS|
|000004c0| 65 67 3b 0d 0a 09 44 65 | 70 74 68 53 74 65 70 20 |eg;...De|pthStep |
|000004d0| 3d 20 64 79 20 2f 20 44 | 65 70 74 68 53 65 67 3b |= dy / D|epthSeg;|
|000004e0| 0d 0a 0d 0a 09 66 6f 72 | 28 20 78 20 3d 20 30 20 |.....for|( x = 0 |
|000004f0| 3b 20 78 20 3c 20 57 69 | 64 74 68 53 65 67 20 2b |; x < Wi|dthSeg +|
|00000500| 20 31 20 3b 20 78 2b 2b | 20 29 0d 0a 09 09 66 6f | 1 ; x++| )....fo|
|00000510| 72 28 20 79 20 3d 20 30 | 20 3b 20 79 20 3c 20 44 |r( y = 0| ; y < D|
|00000520| 65 70 74 68 53 65 67 20 | 2b 20 31 20 3b 20 79 2b |epthSeg |+ 1 ; y+|
|00000530| 2b 20 29 0d 0a 09 09 09 | 56 65 72 74 65 78 33 66 |+ ).....|Vertex3f|
|00000540| 28 20 28 57 69 64 74 68 | 53 74 65 70 20 2a 20 78 |( (Width|Step * x|
|00000550| 29 20 2d 20 64 78 2f 32 | 2c 20 28 44 65 70 74 68 |) - dx/2|, (Depth|
|00000560| 53 74 65 70 20 2a 20 79 | 29 20 2d 20 64 79 2f 32 |Step * y|) - dy/2|
|00000570| 2c 20 2d 28 64 7a 2f 32 | 29 20 29 3b 0d 0a 0d 0a |, -(dz/2|) );....|
|00000580| 09 2f 2f 20 43 72 65 61 | 74 65 20 74 68 65 20 62 |.// Crea|te the b|
|00000590| 6f 74 74 6f 6d 20 61 73 | 20 61 20 6d 65 73 68 20 |ottom as| a mesh |
|000005a0| 6f 66 20 74 72 69 61 6e | 67 6c 65 73 0d 0a 09 66 |of trian|gles...f|
|000005b0| 6f 72 28 20 78 20 3d 20 | 30 20 3b 20 78 20 3c 20 |or( x = |0 ; x < |
|000005c0| 57 69 64 74 68 53 65 67 | 20 3b 20 78 2b 2b 20 29 |WidthSeg| ; x++ )|
|000005d0| 0d 0a 09 09 66 6f 72 28 | 20 79 20 3d 20 30 20 3b |....for(| y = 0 ;|
|000005e0| 20 79 20 3c 20 44 65 70 | 74 68 53 65 67 20 3b 20 | y < Dep|thSeg ; |
|000005f0| 79 2b 2b 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 50 |y++ )...|.{.....P|
|00000600| 6f 6c 79 33 69 28 2d 44 | 69 72 65 63 74 69 6f 6e |oly3i(-D|irection|
|00000610| 2c 0d 0a 09 09 09 09 28 | 6e 62 6f 74 74 6f 6d 2b |,......(|nbottom+|
|00000620| 79 29 09 09 2b 20 28 28 | 44 65 70 74 68 53 65 67 |y)..+ ((|DepthSeg|
|00000630| 2b 31 29 20 2a 20 78 29 | 2c 0d 0a 09 09 09 09 28 |+1) * x)|,......(|
|00000640| 6e 62 6f 74 74 6f 6d 2b | 79 29 09 09 2b 20 28 28 |nbottom+|y)..+ ((|
|00000650| 44 65 70 74 68 53 65 67 | 2b 31 29 20 2a 20 28 78 |DepthSeg|+1) * (x|
|00000660| 2b 31 29 29 2c 0d 0a 09 | 09 09 09 28 28 6e 62 6f |+1)),...|...((nbo|
|00000670| 74 74 6f 6d 2b 31 29 2b | 79 29 09 2b 20 28 28 44 |ttom+1)+|y).+ ((D|
|00000680| 65 70 74 68 53 65 67 2b | 31 29 20 2a 20 28 78 2b |epthSeg+|1) * (x+|
|00000690| 31 29 29 2c 0d 0a 09 09 | 09 09 27 67 72 6f 75 6e |1)),....|..'groun|
|000006a0| 64 27 29 3b 0d 0a 09 09 | 09 50 6f 6c 79 33 69 28 |d');....|.Poly3i(|
|000006b0| 2d 44 69 72 65 63 74 69 | 6f 6e 2c 0d 0a 09 09 09 |-Directi|on,.....|
|000006c0| 09 28 6e 62 6f 74 74 6f | 6d 2b 79 29 09 09 2b 20 |.(nbotto|m+y)..+ |
|000006d0| 28 28 44 65 70 74 68 53 | 65 67 2b 31 29 20 2a 20 |((DepthS|eg+1) * |
|000006e0| 78 29 2c 0d 0a 09 09 09 | 09 28 28 6e 62 6f 74 74 |x),.....|.((nbott|
|000006f0| 6f 6d 2b 31 29 2b 79 29 | 20 2b 20 28 28 44 65 70 |om+1)+y)| + ((Dep|
|00000700| 74 68 53 65 67 2b 31 29 | 20 2a 20 28 78 2b 31 29 |thSeg+1)| * (x+1)|
|00000710| 29 2c 0d 0a 09 09 09 09 | 28 28 6e 62 6f 74 74 6f |),......|((nbotto|
|00000720| 6d 2b 31 29 2b 79 29 20 | 2b 20 28 28 44 65 70 74 |m+1)+y) |+ ((Dept|
|00000730| 68 53 65 67 2b 31 29 20 | 2a 20 78 29 2c 0d 0a 09 |hSeg+1) |* x),...|
|00000740| 09 09 09 27 67 72 6f 75 | 6e 64 27 29 3b 0d 0a 09 |...'grou|nd');...|
|00000750| 09 7d 0d 0a 0d 0a 09 2f | 2f 0d 0a 09 2f 2f 20 53 |.}...../|/...// S|
|00000760| 49 44 45 53 0d 0a 09 2f | 2f 0d 0a 09 2f 2f 20 54 |IDES.../|/...// T|
|00000770| 68 65 20 62 6f 74 74 6f | 6d 20 70 6f 6c 79 20 6f |he botto|m poly o|
|00000780| 66 20 65 61 63 68 20 73 | 69 64 65 20 69 73 20 62 |f each s|ide is b|
|00000790| 61 73 69 63 61 6c 6c 79 | 20 61 20 74 72 69 61 6e |asically| a trian|
|000007a0| 67 6c 65 20 66 61 6e 2e | 0d 0a 09 2f 2f 0d 0a 09 |gle fan.|...//...|
|000007b0| 66 6f 72 28 20 78 20 3d | 20 30 20 3b 20 78 20 3c |for( x =| 0 ; x <|
|000007c0| 20 57 69 64 74 68 53 65 | 67 20 3b 20 78 2b 2b 20 | WidthSe|g ; x++ |
|000007d0| 29 0d 0a 09 7b 0d 0a 09 | 09 50 6f 6c 79 33 69 28 |)...{...|.Poly3i(|
|000007e0| 2d 44 69 72 65 63 74 69 | 6f 6e 2c 0d 0a 09 09 09 |-Directi|on,.....|
|000007f0| 6e 2b 37 2c 0d 0a 09 09 | 09 6e 62 6f 74 74 6f 6d |n+7,....|.nbottom|
|00000800| 20 2b 20 44 65 70 74 68 | 53 65 67 20 2b 20 28 28 | + Depth|Seg + ((|
|00000810| 44 65 70 74 68 53 65 67 | 2b 31 29 20 2a 20 78 29 |DepthSeg|+1) * x)|
|00000820| 2c 0d 0a 09 09 09 6e 62 | 6f 74 74 6f 6d 20 2b 20 |,.....nb|ottom + |
|00000830| 44 65 70 74 68 53 65 67 | 20 2b 20 28 28 44 65 70 |DepthSeg| + ((Dep|
|00000840| 74 68 53 65 67 2b 31 29 | 20 2a 20 28 78 20 2b 20 |thSeg+1)| * (x + |
|00000850| 31 29 29 2c 20 27 73 6b | 79 27 20 29 3b 0d 0a 09 |1)), 'sk|y' );...|
|00000860| 09 50 6f 6c 79 33 69 28 | 2d 44 69 72 65 63 74 69 |.Poly3i(|-Directi|
|00000870| 6f 6e 2c 0d 0a 09 09 09 | 6e 2b 31 2c 0d 0a 09 09 |on,.....|n+1,....|
|00000880| 09 6e 62 6f 74 74 6f 6d | 20 2b 20 28 28 44 65 70 |.nbottom| + ((Dep|
|00000890| 74 68 53 65 67 2b 31 29 | 20 2a 20 28 78 20 2b 20 |thSeg+1)| * (x + |
|000008a0| 31 29 29 2c 0d 0a 09 09 | 09 6e 62 6f 74 74 6f 6d |1)),....|.nbottom|
|000008b0| 20 2b 20 28 28 44 65 70 | 74 68 53 65 67 2b 31 29 | + ((Dep|thSeg+1)|
|000008c0| 20 2a 20 78 29 2c 20 27 | 73 6b 79 27 20 29 3b 0d | * x), '|sky' );.|
|000008d0| 0a 09 7d 0d 0a 09 66 6f | 72 28 20 79 20 3d 20 30 |..}...fo|r( y = 0|
|000008e0| 20 3b 20 79 20 3c 20 44 | 65 70 74 68 53 65 67 20 | ; y < D|epthSeg |
|000008f0| 3b 20 79 2b 2b 20 29 0d | 0a 09 7b 0d 0a 09 09 50 |; y++ ).|..{....P|
|00000900| 6f 6c 79 33 69 28 2d 44 | 69 72 65 63 74 69 6f 6e |oly3i(-D|irection|
|00000910| 2c 0d 0a 09 09 09 6e 2b | 33 2c 0d 0a 09 09 09 6e |,.....n+|3,.....n|
|00000920| 62 6f 74 74 6f 6d 20 2b | 20 79 2c 0d 0a 09 09 09 |bottom +| y,.....|
|00000930| 6e 62 6f 74 74 6f 6d 20 | 2b 20 28 79 20 2b 20 31 |nbottom |+ (y + 1|
|00000940| 29 2c 20 27 73 6b 79 27 | 20 29 3b 0d 0a 09 09 50 |), 'sky'| );....P|
|00000950| 6f 6c 79 33 69 28 2d 44 | 69 72 65 63 74 69 6f 6e |oly3i(-D|irection|
|00000960| 2c 0d 0a 09 09 09 6e 2b | 35 2c 0d 0a 09 09 09 6e |,.....n+|5,.....n|
|00000970| 62 6f 74 74 6f 6d 20 2b | 20 28 28 44 65 70 74 68 |bottom +| ((Depth|
|00000980| 53 65 67 2b 31 29 20 2a | 20 57 69 64 74 68 53 65 |Seg+1) *| WidthSe|
|00000990| 67 29 20 2b 20 28 79 20 | 2b 20 31 29 2c 0d 0a 09 |g) + (y |+ 1),...|
|000009a0| 09 09 6e 62 6f 74 74 6f | 6d 20 2b 20 28 28 44 65 |..nbotto|m + ((De|
|000009b0| 70 74 68 53 65 67 2b 31 | 29 20 2a 20 57 69 64 74 |pthSeg+1|) * Widt|
|000009c0| 68 53 65 67 29 20 2b 20 | 79 2c 20 27 73 6b 79 27 |hSeg) + |y, 'sky'|
|000009d0| 20 29 3b 0d 0a 09 7d 0d | 0a 7d 0d 0a 0d 0a 65 76 | );...}.|.}....ev|
|000009e0| 65 6e 74 20 62 6f 6f 6c | 20 42 75 69 6c 64 28 29 |ent bool| Build()|
|000009f0| 0d 0a 7b 0d 0a 09 69 66 | 28 20 48 65 69 67 68 74 |..{...if|( Height|
|00000a00| 3c 3d 30 20 7c 7c 20 57 | 69 64 74 68 3c 3d 30 20 |<=0 || W|idth<=0 |
|00000a10| 7c 7c 20 42 72 65 61 64 | 74 68 3c 3d 30 20 7c 7c ||| Bread|th<=0 |||
|00000a20| 20 57 69 64 74 68 53 65 | 67 6d 65 6e 74 73 3c 3d | WidthSe|gments<=|
|00000a30| 30 20 7c 7c 20 44 65 70 | 74 68 53 65 67 6d 65 6e |0 || Dep|thSegmen|
|00000a40| 74 73 3c 3d 30 20 29 0d | 0a 09 09 72 65 74 75 72 |ts<=0 ).|...retur|
|00000a50| 6e 20 42 61 64 50 61 72 | 61 6d 65 74 65 72 73 28 |n BadPar|ameters(|
|00000a60| 29 3b 0d 0a 0d 0a 09 42 | 65 67 69 6e 42 72 75 73 |);.....B|eginBrus|
|00000a70| 68 28 20 66 61 6c 73 65 | 2c 20 47 72 6f 75 70 4e |h( false|, GroupN|
|00000a80| 61 6d 65 20 29 3b 0d 0a | 09 42 75 69 6c 64 54 65 |ame );..|.BuildTe|
|00000a90| 72 72 61 69 6e 28 20 2b | 31 2c 20 42 72 65 61 64 |rrain( +|1, Bread|
|00000aa0| 74 68 2c 20 57 69 64 74 | 68 2c 20 48 65 69 67 68 |th, Widt|h, Heigh|
|00000ab0| 74 2c 20 57 69 64 74 68 | 53 65 67 6d 65 6e 74 73 |t, Width|Segments|
|00000ac0| 2c 20 44 65 70 74 68 53 | 65 67 6d 65 6e 74 73 20 |, DepthS|egments |
|00000ad0| 29 3b 0d 0a 09 72 65 74 | 75 72 6e 20 45 6e 64 42 |);...ret|urn EndB|
|00000ae0| 72 75 73 68 28 29 3b 0d | 0a 7d 0d 0a 0d 0a 0d 0a |rush();.|.}......|
|00000af0| 2f 2f 23 65 6e 64 69 66 | 0d 0a 00 |//#endif|... |
+--------+-------------------------+-------------------------+--------+--------+